
cmake_minimum_required(VERSION 3.5.1)


add_library( open_space_trajectory_optimizer  open_space_trajectory_optimizer.cc )
target_link_libraries( open_space_trajectory_optimizer
cyber
cyber::log
common_proto
common::status
common::util
common::vehicle_state_provider
planning::frame
planning::hybrid_a_star
distance_approach_problem_wrapper
planning::dual_variable_warm_start_problem
planning::iterative_anchoring_smoother
planning_proto
Eigen3::Eigen
)



add_library( open_space_trajectory_provider  open_space_trajectory_provider.cc )
target_link_libraries( open_space_trajectory_provider
open_space_trajectory_optimizer
common::status
planning_common_module
planning::planning_gflags
task
planning::trajectory_stitcher
planning::discretized_trajectory
trajectory_optimizer
Eigen3::Eigen
)




install(TARGETS open_space_trajectory_optimizer
                open_space_trajectory_provider
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )